//some commentnare ?
import java.util.Timer;
import java.util.TimerTask;


public class TimerTest {

public static void main(String[] args) {
	
	
	Timer timer = new Timer();
    TimerTask task = new TimerTask() {
    	
        @Override
        public void run() {
        	System.out.println("hej med dig");
            }
        
    };
    timer.schedule(task, 1000,1000);// (the task, when to start, when to repeat)
	
}
}
